from pydantic import BaseModel

class ParameterMapping(BaseModel):
    """
    Represents a mapping between parameters of different operators in an algorithm graph.

    Attributes:
        src_operator_graph_id (str): The graph ID of the source operator.
        source_operator_id (str): The ID of the source operator.
        dst_operator_graph_id (str): The graph ID of the destination operator.
        dst_operator_id (str): The ID of the destination operator.
        src_param_name (str): The name of the parameter in the source operator.
        dst_param_name (str): The name of the parameter in the destination operator.
    """
    src_operator_graph_id: str
    source_operator_id: str
    dst_operator_graph_id: str
    dst_operator_id: str
    src_param_name: str
    dst_param_name: str